package com.demo.designmode.factory.myabstract1;

/**
 * @Author: jxm
 * @Description: 小米工厂（具体工厂）
 * @Date: 2024-1-10 14:10
 * @Version: 1.0
 */
public class XiaomiFactory implements SmartProductFactory{

    @Override
    public ISmartPhone createSmartPhone() {
        return new XiaomiSmartPhone();
    }

    @Override
    public ISmartCar createSmartCar() {
        return new XiaomiSmartCar();
    }
}
